#!/bin/sh

echo "Running as $1, connecting to $2"

java "-Djavax.net.ssl.trustStore=$1/keystore" -Djavax.net.ssl.trustStorePassword=datasakerhet \
     "-Djavax.net.ssl.keyStore=$1/keystore" -Djavax.net.ssl.keyStorePassword=datasakerhet \
     -cp ./clientapp/bin client.Client "$2"
